package com.cskaoyan.service.admin;

import com.cskaoyan.bean.MarketRole;
import com.cskaoyan.model.admin.bo.BaseParam;
import com.cskaoyan.model.admin.bo.PermissionsBo;
import com.cskaoyan.model.admin.vo.BaseDataListVo;
import com.cskaoyan.model.admin.vo.PermissionsVo;
import com.cskaoyan.model.admin.vo.RoleCreateVo;

/**
 * @author hanshuai
 * @version 1.0
 * @description @TODO
 * @date 2021/11/29 19:55
 */
public interface SystemRoleService {
    BaseDataListVo getRoles();

    BaseDataListVo roleList(BaseParam baseParam, String name);

    MarketRole roleCreate(RoleCreateVo roleCreateVo);

    void roleUpdate(MarketRole marketRole);

    void deleteRoles(MarketRole marketRole);

    PermissionsVo rolePermissions(Integer roleId);

    void updatePermissions(PermissionsBo permissionsBo);
}
